#!/bin/sh
if [ "$1" = "-a" ]; then
	btrfs sub list /data/
else
	btrfs sub list /data/ | grep -v 'path backup/'
fi

echo
echo 'Default:'
btrfs sub get-default /data/

